[INFO] fetching crate libp2p-metrics 0.11.0...
[INFO] checking libp2p-metrics-0.11.0 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] extracting crate libp2p-metrics 0.11.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate libp2p-metrics 0.11.0 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-metrics 0.11.0
[INFO] finished tweaking crates.io crate libp2p-metrics 0.11.0
[INFO] tweaked toml for crates.io crate libp2p-metrics 0.11.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate crates.io crate libp2p-metrics 0.11.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libp2p-core v0.38.0
[INFO] [stderr]   Downloaded prost-codec v0.3.0
[INFO] [stderr]   Downloaded multiaddr v0.16.0
[INFO] [stderr]   Downloaded libp2p-kad v0.42.0
[INFO] [stderr]   Downloaded libp2p-ping v0.41.0
[INFO] [stderr]   Downloaded libp2p-identify v0.41.0
[INFO] [stderr]   Downloaded asn1_der v0.7.5
[INFO] [stderr]   Downloaded libp2p-swarm v0.41.0
[INFO] [stderr]   Downloaded hex_fmt v0.3.0
[INFO] [stderr]   Downloaded multistream-select v0.12.1
[INFO] [stderr]   Downloaded prometheus-client-derive-text-encode v0.3.0
[INFO] [stderr]   Downloaded prometheus-client v0.18.1
[INFO] [stderr]   Downloaded uint v0.9.4
[INFO] [stderr]   Downloaded libp2p-gossipsub v0.43.0
[INFO] [stderr]   Downloaded libp2p-dcutr v0.8.0
[INFO] [stderr]   Downloaded prettyplease v0.1.21
[INFO] [stderr]   Downloaded prost-derive v0.11.2
[INFO] [stderr]   Downloaded prost v0.11.2
[INFO] [stderr]   Downloaded prost-types v0.11.2
[INFO] [stderr]   Downloaded prost-build v0.11.2
[INFO] [stderr]   Downloaded asynchronous-codec v0.6.1
[INFO] [stderr]   Downloaded dtoa v1.0.4
[INFO] [stderr]   Downloaded rw-stream-sink v0.3.0
[INFO] [stderr]   Downloaded libp2p-relay v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 87cbd5378b1c2745fbab02b646e9277a02336bc50fa3e7423f4b8f1d1ac88bf7
[INFO] running `Command { std: "docker" "start" "-a" "87cbd5378b1c2745fbab02b646e9277a02336bc50fa3e7423f4b8f1d1ac88bf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87cbd5378b1c2745fbab02b646e9277a02336bc50fa3e7423f4b8f1d1ac88bf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87cbd5378b1c2745fbab02b646e9277a02336bc50fa3e7423f4b8f1d1ac88bf7", kill_on_drop: false }`
[INFO] [stdout] 87cbd5378b1c2745fbab02b646e9277a02336bc50fa3e7423f4b8f1d1ac88bf7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] beabf67cf183cf2847519a471eb38d88a7f7c5996017dd42660d674f1764c89f
[INFO] running `Command { std: "docker" "start" "-a" "beabf67cf183cf2847519a471eb38d88a7f7c5996017dd42660d674f1764c89f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]     Checking generic-array v0.14.6
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling prettyplease v0.1.21
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]     Checking const-oid v0.9.1
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.4
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking unsigned-varint v0.7.1
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking base64ct v1.5.3
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking signature v1.6.4
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]     Checking ed25519 v1.5.2
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking base16ct v0.1.1
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]    Compiling tokio v1.22.0
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking asn1_der v0.7.5
[INFO] [stderr]     Checking dtoa v1.0.4
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling prost-derive v0.11.2
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.10
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling prometheus-client-derive-text-encode v0.3.0
[INFO] [stderr]     Checking data-encoding-macro v0.1.12
[INFO] [stderr]     Checking prometheus-client v0.18.1
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking der v0.6.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking futures-util v0.3.25
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking spki v0.6.0
[INFO] [stderr]    Compiling multihash-derive v0.8.1
[INFO] [stderr]     Checking pkcs8 v0.9.0
[INFO] [stderr]    Compiling prost v0.11.2
[INFO] [stderr]     Checking sec1 v0.3.0
[INFO] [stderr]    Compiling prost-types v0.11.2
[INFO] [stderr]     Checking multihash v0.16.3
[INFO] [stderr]     Checking multiaddr v0.16.0
[INFO] [stderr]    Compiling prost-build v0.11.2
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking hyper v0.14.23
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking rw-stream-sink v0.3.0
[INFO] [stderr]     Checking multistream-select v0.12.1
[INFO] [stderr]    Compiling libp2p-core v0.38.0
[INFO] [stderr]     Checking libp2p-swarm v0.41.0
[INFO] [stderr]     Checking libp2p-metrics v0.11.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use libp2p::core::Multiaddr;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use libp2p::metrics::{Metrics, Recorder};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | use libp2p::swarm::{NetworkBehaviour, SwarmEvent};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | use libp2p::{identify, identity, ping, PeerId, Swarm};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour`
[INFO] [stdout]    --> examples/metrics/main.rs:117:10
[INFO] [stdout]     |
[INFO] [stdout] 117 | #[derive(NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BehaviourEvent`
[INFO] [stdout]   --> examples/metrics/main.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 SwarmEvent::Behaviour(BehaviourEvent::Ping(ping_event)) => {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ use of undeclared type `BehaviourEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BehaviourEvent`
[INFO] [stdout]   --> examples/metrics/main.rs:99:39
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 SwarmEvent::Behaviour(BehaviourEvent::Identify(identify_event)) => {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ use of undeclared type `BehaviourEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]    --> examples/metrics/main.rs:125:27
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn new(local_pub_key: libp2p::identity::PublicKey) -> Self {
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |         block_on(libp2p::development_transport(local_key))?,
[INFO] [stdout]    |                  ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]   --> examples/metrics/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use futures::stream::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-metrics` due to 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "beabf67cf183cf2847519a471eb38d88a7f7c5996017dd42660d674f1764c89f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "beabf67cf183cf2847519a471eb38d88a7f7c5996017dd42660d674f1764c89f", kill_on_drop: false }`
[INFO] [stdout] beabf67cf183cf2847519a471eb38d88a7f7c5996017dd42660d674f1764c89f
